next
Round
Technologies
Experiences
Contribute
Login
next
Round
Technologies
Experiences
Contribute
Login
Question Loading...
Database and ORM
1. How do you set up TypeORM in a NestJS application?
Level: Expert | Frequency: High
2. How do you define a TypeORM entity and register it in a NestJS feature module?
Level: Expert | Frequency: High
3. What is the difference between find(), findOne(), findOneOrFail(), and the Query Builder in TypeORM?
Level: Expert | Frequency: High
4. How do you handle TypeORM migrations in a NestJS project?
Level: Expert | Frequency: High
5. How do you implement a custom TypeORM repository in NestJS?
Level: Expert | Frequency: High
6. What are the two main ways to run a database transaction in TypeORM with NestJS?
Level: Expert | Frequency: High
7. How do you propagate a TypeORM transaction across multiple services in NestJS?
Level: Expert | Frequency: High
8. How do you implement optimistic locking with TypeORM to prevent lost updates in NestJS?
Level: Expert | Frequency: High
9. How do you integrate Prisma into a NestJS application?
Level: Expert | Frequency: High
10. How do you run a transaction with Prisma in NestJS?
Level: Expert | Frequency: High
11. What are Prisma middleware and how do you use them for audit logging in NestJS?
Level: Expert | Frequency: High
12. How do you handle Prisma migrations in a CI/CD pipeline?
Level: Expert | Frequency: High
13. How do you set up Mongoose in a NestJS application and define a schema?
Level: Expert | Frequency: High
14. How do you perform CRUD operations and add query methods to a Mongoose model in NestJS?
Level: Expert | Frequency: High
15. How do you add schema middleware (hooks) and instance methods in NestJS Mongoose?
Level: Expert | Frequency: High
16. How do you handle Mongoose transactions for multi-document atomic operations in NestJS?
Level: Expert | Frequency: High
17. What is the repository pattern and why use it in NestJS?
Level: Expert | Frequency: High
18. How do you mock a repository in a NestJS unit test?
Level: Expert | Frequency: High
19. How do you implement soft deletes in NestJS with TypeORM?
Level: Expert | Frequency: High
20. How do you handle database connection pooling and health checks in NestJS?
Level: Expert | Frequency: High
21. How do you seed a database in a NestJS application?
Level: Expert | Frequency: High
22. How do you implement multi-tenancy with a shared database in NestJS TypeORM?
Level: Expert | Frequency: High
23. How do you implement database read replicas in NestJS for read/write splitting with TypeORM?
Level: Expert | Frequency: High
24. How do you use Prisma with multiple databases in a single NestJS application?
Level: Expert | Frequency: High
25. How do you implement a Unit of Work pattern to group database operations across repositories in NestJS?
Level: Expert | Frequency: High
All Topics
Basics
Modules
Decorators
Controllers
Dependency Injection
Providers
Architecture
Request Lifecycle
Middleware
Guards
Interceptors
Pipes
Filters
Exception Handling
API Design
GraphQL
Database and ORM
Microservices
Authentication and Authorization,
Interceptors